package code.structure.module.others
{
	import code.main.AppCommonData;
	import code.main.AppCommonView;
	import code.main.core.mvc.YController;
	import code.structure.module.configs.ConfigModel;
	import code.structure.module.scene.view.Scene;
	import code.structure.module.user.UserModel;
	
	/**
	 *特殊控制器 （统计 feed request 好友邀请等等的控制器） 
	 * @author Yuri
	 * 
	 */
	public class SpecialController extends YController
	{
		private var _userModel:UserModel;
		private var _configModel:ConfigModel;
		private var _scene:Scene;
		
		public function SpecialController()
		{
			super();
		}
		
		override public function start():void{
			
			_userModel = (_context.commonData as AppCommonData).userModel;
			_configModel = (_context.commonData as AppCommonData).configModel;
			_scene = (_context.commonView as AppCommonView).scene;
		}
		
		public function get userModel():UserModel
		{
			return _userModel;
		}

		public function get configModel():ConfigModel
		{
			return _configModel;
		}
	
		public function get scene():Scene
		{
			return _scene;
		}
	}
}